package com.hulk.boot.inner.bizservice;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hulk.boot.persistence.mapper.TPospBatCutCtlMapper;
import com.hulk.boot.persistence.model.TPospBatCutCtl;







/**
 * @author cmt
 *
 */
@Service("cutDateCtlService")
public class CutDateCtlService {
	
	@Autowired
	private TPospBatCutCtlMapper tPospBatCutCtlMapper;
	
	
		
	public String getCutDate() {
		
		return tPospBatCutCtlMapper.selectByPrimaryKey(1L).getCurrDate();
		
	}
    public TPospBatCutCtl getCutCtl() {
		
		return tPospBatCutCtlMapper.selectByPrimaryKey(1L);
		
	}
    
    public void modifyCutCtl(TPospBatCutCtl obj){
    	tPospBatCutCtlMapper.updateByPrimaryKeySelective(obj);    	
    }

}
